package com.it.heima.mapper;

import com.it.heima.entity.User;

import java.util.List;

public interface UserMapper {

    List<User> getAllUsers();

    User getUserById(Long id);

    int addUser(User user);

    int updateUserById(User user);

    int deleteUser(Long id);
}
